﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo2
{
    class Student
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public int Age { get; set; }
        public Student(){

        }
        public Student(string Id,string Name,int Age)
        {
            this.Id = Id;
            this.Name = Name;
            this.Age = Age;
        }
        public override string ToString()
        {
            return $"学号：{Id}姓名：{Name}年龄：{Age}";
        }
    }
}
